home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Belgian Amiga Club - ADF Collection
/
BS1 part 27.zip
/
BS1 part 27
/
TapeWControleV1.0.adf
/
Install
< prev
next >
Wrap
Text File
|
1993-08-25
|
2KB
|
79 lines
;script to install Ami-Back Tools
;Get directory to install Ami-Back Tools in.
(set destdir
(askdir
(prompt "In which drawer should the TapeWorm-FS utilities be installed?")
(help @askdir-help)
(default @default-dest)
)
)
;Get OS version.
(set vernum (getversion))
(set ver (/ vernum 65536))
(set rev (- vernum (* ver 65536)))
;Make sure version is late enough to run.
(if (< ver 37)
// Problem.
(
(message "You need version 2.0 or later of AmigaDOS to use TapeWorm-FS.")
(exit)
)
)
;Copy config/control program files to destination.
(copyfiles
(choices "TapeWorm-FS:TWConfig" "TapeWorm-FS:TWCtrl")
(dest destdir)
(infos)
(confirm)
(prompt "Copying TapeWorm-FS utilities.")
(help @copyfiles-help)
)
;Copy filesystem.
(copyfiles
(source "TapeWorm-FS:TapeWorm-FS")
(dest "L:")
(confirm)
(prompt "Copying TapeWorm-FS filesystem handler.")
(help @copyfiles-help)
)
;Copy or Append MountList entry.
(if (exists "Devs:DOSDrivers")
;True
(copyfiles
(source "TapeWorm-FS:Tape")
(dest "Devs:DOSDrivers")
(infos)
(confirm)
(prompt "Copying TapeWorm-FS Moutfile.")
(help @copyfiles-help)
)
;False
(
(copyfiles
(source "TapeWorm-FS:TW.Mountlist")
(dest "Devs:")
(confirm)
(prompt "Copying TapeWorm-FS Mountlist.")
(help @copyfiles-help)
)
(startup "TapeWorm-FS"
(command "Mount TAPE: FROM Devs:TW.Mountlist")
(prompt "Adding mountlist entry for TAPE:")
(help "TapeWorm-FS needs to be mounted before it can be used.")
)
)
)
;Correct @default-dest so that final information is correct.
(set @default-dest destdir)
(exit)